package com.example.skyline.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.skyline.entity.Query;
import com.example.skyline.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserManagementService extends IService<User> {

    int addUser(User user);

    int deleteUser(Integer id);

    int updateUser(User user);
    User getUserById(Integer id);
    List<User> selectAll(String userName,
                         String name,
                          Integer start,
                          Integer pageSize);

    int countAll( String userName,
                 String name);

}
